@echo off
 
::
:: Important here Env setting
::
set QUESTA_HOME=D:/questasim64_2020.1
set UVM_VERSION=uvm-1.1d
set UVM_HOME=%QUESTA_HOME%/verilog_src/%UVM_VERSION%
set WORK_HOME=section_2_2_1
::set GCC_HOME=D:/gcc-4.5.0-mingw64vc12
::set QUARTUS_HOME=D:/intelFPGA/18.1/quartus
::set PATH=%QUESTA_HOME%/win64;%QUARTUS_HOME%/bin64/cygwin/bin;%QUARTUS_HOME%/bin64;%PATH%
 
::Test_1
::vsim -do sim_hello_world_example.do
 
::Test_2
cd examples
vsim -do %1.tcl
cd ..
 
 